package com.ym.pms.annotation;

/**
 * @Author: xybh
 * @Description: 在Controller的方法参数中使用此注解，该方法在映射时会注入当前登录的User对象
 * @Date: Created in 20:59 2020/12/5
 * @Modified:
 */
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
public @interface CurrentUser {
}